Seal GtkRange
authorTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:08:57 +0000 (11:08 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:08:57 +0000 (11:08 +0000)
svn path=/trunk/; revision=20612

gtk/gtkrange.c
gtk/gtkrange.h

index 65c0d746335896b8b0f6e36974e4ab7dc275c33d..a77549b964213830feb026dd3bce233fbdc951b2 100644 (file)
@@ -330,7 +330,7 @@ gtk_range_class_init (GtkRangeClass *class)
                   G_TYPE_BOOLEAN, 2,
                   GTK_TYPE_SCROLL_TYPE,
                   G_TYPE_DOUBLE);
-  
+
   g_object_class_install_property (gobject_class,
                                    PROP_UPDATE_POLICY,
                                    g_param_spec_enum ("update-policy",
index c7142d31e4353880b2ff1b71bd1adb33e033574c..68deba06ce9355d5215c9611988cfcc42611fc69 100644 (file)
@@ -58,48 +58,48 @@ struct _GtkRange
 {
   GtkWidget widget;
 
-  GtkAdjustment *adjustment;
-  GtkUpdateType update_policy;
-  guint inverted : 1;
+  GtkAdjustment *GSEAL (adjustment);
+  GtkUpdateType GSEAL (update_policy);
+  guint GSEAL (inverted : 1);
 
   /*< protected >*/
 
-  guint flippable : 1;
+  guint GSEAL (flippable : 1);
 
   /* Steppers are: < > ---- < >
    *               a b      c d
    */
 
-  guint has_stepper_a : 1;
-  guint has_stepper_b : 1;
-  guint has_stepper_c : 1;
-  guint has_stepper_d : 1;
+  guint GSEAL (has_stepper_a : 1);
+  guint GSEAL (has_stepper_b : 1);
+  guint GSEAL (has_stepper_c : 1);
+  guint GSEAL (has_stepper_d : 1);
 
-  guint need_recalc : 1;
+  guint GSEAL (need_recalc : 1);
 
-  guint slider_size_fixed : 1;
+  guint GSEAL (slider_size_fixed : 1);
 
-  gint min_slider_size;
+  gint GSEAL (min_slider_size);
 
-  GtkOrientation orientation;
+  GtkOrientation GSEAL (orientation);
 
   /* Area of entire stepper + trough assembly in widget->window coords */
-  GdkRectangle range_rect;
+  GdkRectangle GSEAL (range_rect);
   /* Slider range along the long dimension, in widget->window coords */
-  gint slider_start, slider_end;
+  gint GSEAL (slider_start), GSEAL (slider_end);
 
   /* Round off value to this many digits, -1 for no rounding */
-  gint round_digits;
+  gint GSEAL (round_digits);
 
   /*< private >*/
-  guint trough_click_forward : 1;  /* trough click was on the forward side of slider */
-  guint update_pending : 1;        /* need to emit value_changed */
-  GtkRangeLayout *layout;
-  GtkRangeStepTimer *timer;
-  gint slide_initial_slider_position;
-  gint slide_initial_coordinate;
-  guint update_timeout_id;
-  GdkWindow *event_window;
+  guint GSEAL (trough_click_forward : 1);  /* trough click was on the forward side of slider */
+  guint GSEAL (update_pending : 1);        /* need to emit value_changed */
+  GtkRangeLayout *GSEAL (layout);
+  GtkRangeStepTimer *GSEAL (timer);
+  gint GSEAL (slide_initial_slider_position);
+  gint GSEAL (slide_initial_coordinate);
+  guint GSEAL (update_timeout_id);
+  GdkWindow *GSEAL (event_window);
 };
 
 struct _GtkRangeClass